<@master template="common/default" title="团队工单信息">
<#macro userStructureViewsRender userStructureViewList level>
	<#list userStructureViewList as userStructureView>
		<div class="mt20">
			<div>
				<@levelRender level=level/>
				<#if userStructureView.children?size==0>-<#else>+</#if>
				 ${userStructureView.userName}(${userStructureView.userCode}) <a href="/ticket/view/search?operators=${userStructureView.userCode}&statusNotIns=CLOSE&statusNotIns=CANCEL&orderBy=dueDate&pageSize=100" class="fr" target="_blank">查看</a>
			</div>
			<div>
			<div class="action-ajax-load" id="operators${userStructureView.userCode}" data-url="/ticket/ajax/search?render=${"#"?url}operators${userStructureView.userCode}&operators=${userStructureView.userCode}&statusNotIns=CLOSE&statusNotIns=CANCEL&orderBy=dueDate&pageSize=100"></div>
			<@userStructureViewsRender  userStructureViewList=userStructureView.children level=level+1/>
			</div>
		</div>
	</#list>
</#macro>

<#macro levelRender level>
	<#list 0..100 as t>
		<#if t=level><#break/></#if>
		<span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</span>
	</#list>
</#macro>

<div class="detailsBox clearfix">
	<@userStructureViewsRender  userStructureViewList=userStructureViews level=0/>
</div>


</@master>
